<% #endcoding:utf-8%>
<div class="name-card">
  <%if session[:user_id].nil?%>
  <h3 class="name"><%=link_to "登陆",login_path%>后可见</h3>
      <%else%>
  <%if @info%>
  <h3 class="name"><%=@info.real_name%></h3>
  <p class="phone">手机 ： <%=@info.phone%></p>
  <p class="good-at">擅长 ： <%=@info.good_at%></p>
  <%end%>
      <%end%>
</div>